package com.jbm.jsm.iface;

import com.jbm.core.iface.IAcross;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * Created by Administrator on 2017/9/26.
 */
@Entity
@Table(name = "task_mould", schema = "", catalog = "jsm")
@org.hibernate.annotations.Entity(dynamicUpdate=true,dynamicInsert=true)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class TaskMouldEntity extends IAcross
{
    private Integer tmId;
    private String tmName;//模板名称
    private Integer platType;
    private Integer taskType;
    private Integer payType;
    private Integer orderNumbers;
    private String requirement;
    private BigDecimal freight;
    private Integer taskEnvironment;//做单环境
    private BigDecimal fee;
    private String sellerAccount;
    private Timestamp createDate;
    private Integer createId;
    private Integer goodsAmount;
    private String saLevel;
    private Integer sDay;
    private Integer sWeek;
    private Integer sMonth;
    private Integer sIsRealname;
    private Integer sIsSeller;
    private Integer sIsBaduser;
    private Integer isIsMobile;
    private Integer saSex;
    private Integer sSatisfy; //接单人保证金
    private Integer sLimitDay;
    private String  comment;
    private List<GeoInfoEntity> geolist;
   private List<TaskMouldGoodsEntity> goodsList;
    private List<TaskMouldEntity> mouldList;
    private Integer levelValueS; //京享值 低
    private Integer levelValueE; //京享值 高
    private Integer waitReceive; //待收
    private Integer waitComment; //待评价
    private String platTypeS;//平台 手输入
    private Integer userpayBelong;//垫付归属
    private String doFlow; //接单流程
    private Date startDate;//开始时间
    private Date endDate;//结束时间
    private BigDecimal rental;//租金
    private Integer mainId;//主账号id
    private String mainAccount;//主账号account
    private String viceAccount;//副账号id串
    private Integer status;//状态
    private String requirementOld; //原接单要求
    private String doFlowOld; //原接单流程
    private String commentOld;//原接单交单条件
    private Date startDateOld;//原开始时间
    private Date endDateOld;//原结束时间
    private BigDecimal rentalOld;//原租金
    private String viceAccountOld;//原 副账号
    private BigDecimal mainDeposit;//主账号保障金
    private BigDecimal viceDeposit;//副账号保证金
    private Integer auditId;//审核人id
    private String auditCn;//审核人中文
    private Timestamp auditDate;//审核日期
    private String refuseReason;//拒绝原因
    private List<TaskMouldRequireEntity> requireList; //接单条件
    private Integer doPlatType;
    private String contact;//联系方式
    private BigDecimal perUserpay;//垫付
    private BigDecimal perUserpayOld; //原垫付
    private String tmNo;
    private String statuscn;
    private UserEntity createUser;
    private List<UserEntity> viceAccountList;
    public TaskMouldEntity()
    {
        super();
    }
    public TaskMouldEntity(IAcross ia)
    {
        super(ia);
    }
    public TaskMouldEntity(int tmId)
    {
       this.tmId=tmId;
    }
    public TaskMouldEntity(Integer start,Integer pagesize)
    {
        this.start=start;
        this.pagesize=pagesize;
        this.createDate=new Timestamp(System.currentTimeMillis());
    }
    public TaskMouldEntity(int tmId,int status,String reason,String perUserpay,       String requirement,String doFlow,String comment,Date startdate,Date enddate,String rental,String viceAccount,String mainDeposit,String viceDeposit,   List<TaskMouldRequireEntity> requireList)
    {
        this.tmId=tmId;
        this.status=status;
        this.refuseReason=reason;
        if(perUserpay!=null && !perUserpay.equals(""))  this.perUserpay=new BigDecimal(perUserpay);
        this.requirement=requirement;
        this.doFlow=doFlow;
        this.comment=comment;
        if(startdate!=null && !startdate.equals("")) this.startDate=   startdate;
        if(enddate!=null && !enddate.equals("")) this.endDate=enddate;
        if(rental!=null && !rental.equals(""))   this.rental=new BigDecimal(rental);
        if(mainDeposit!=null && !mainDeposit.equals(""))   this.mainDeposit=new BigDecimal(mainDeposit);
        if(viceDeposit!=null && !viceDeposit.equals(""))   this.viceDeposit=new BigDecimal(viceDeposit);
        this.viceAccount=viceAccount;
        this.setRequireList(requireList);

    }

    public TaskMouldEntity (String tmName, Integer taskEnvironment, Integer platType, Integer payType, Integer taskType, BigDecimal fee, Integer goodsAmount, Integer orderNumbers, String saLevel, Integer sDay, Integer sWeek, Integer sMonth, Integer sIsRealname, Integer sIsSeller, Integer sIsBaduser, Integer saSex, Integer sSatisfy, Integer sLimitDay, String   requirement, BigDecimal freight, String comment, List<GeoInfoEntity> geolist, List<TaskMouldGoodsEntity> goodslist)
    {
        this.doPlatType=doPlatType;
        this.waitComment=waitComment;
        this.waitReceive=waitReceive;
        this.levelValueE=levelValueE;
        this.levelValueS=levelValueS;
        this.tmName=tmName;
        this.taskEnvironment=taskEnvironment;
        this.platType=platType;
        this.payType=payType;
        this.taskType=taskType;
        this.fee=fee;
        this.goodsAmount=goodsAmount;
        this.orderNumbers=orderNumbers;
        this.saLevel=saLevel;

        this.sDay=sDay;
        this.sWeek=sWeek;
        this.sMonth=sMonth;



        this.sIsRealname=sIsRealname;
        this.sIsSeller=sIsSeller;
        this.sIsBaduser=sIsBaduser;
        this.saSex=saSex;
        this.sSatisfy=sSatisfy;
        this.sLimitDay=sLimitDay;
        this.requirement=requirement;
        this.freight=freight;
        this.comment=comment;
        this.geolist=geolist;
        this.goodsList=goodslist;

    }

    public TaskMouldEntity (String tmName,Integer levelValueS,Integer levelValueE,Integer waitReceive ,Integer waitComment,Integer doPlatType,Integer taskEnvironment, Integer platType, Integer payType, Integer taskType, BigDecimal fee, Integer goodsAmount, Integer orderNumbers, String saLevel, Integer sDay, Integer sWeek, Integer sMonth, Integer sIsRealname, Integer sIsSeller, Integer sIsBaduser, Integer saSex, Integer sSatisfy, Integer sLimitDay, String   requirement, BigDecimal freight, String comment, List<GeoInfoEntity> geolist, List<TaskMouldGoodsEntity> goodslist)
    {
        this.doPlatType=doPlatType;
        this.waitComment=waitComment;
        this.waitReceive=waitReceive;
        this.levelValueE=levelValueE;
        this.levelValueS=levelValueS;
        this.tmName=tmName;
        this.taskEnvironment=taskEnvironment;
        this.platType=platType;
        this.payType=payType;
        this.taskType=taskType;
        this.fee=fee;
        this.goodsAmount=goodsAmount;
        this.orderNumbers=orderNumbers;
        this.saLevel=saLevel;

        this.sDay=sDay;
        this.sWeek=sWeek;
        this.sMonth=sMonth;



        this.sIsRealname=sIsRealname;
        this.sIsSeller=sIsSeller;
        this.sIsBaduser=sIsBaduser;
        this.saSex=saSex;
        this.sSatisfy=sSatisfy;
        this.sLimitDay=sLimitDay;
        this.requirement=requirement;
        this.freight=freight;
        this.comment=comment;
        this.geolist=geolist;
        this.goodsList=goodslist;

    }
    public void setTmId(int tmId) {
        this.tmId = tmId;
    }

    public void setStartDate(Timestamp startDate) {
        this.startDate = startDate;
    }

    public void setEndDate(Timestamp endDate) {
        this.endDate = endDate;
    }



    public void setStartDateOld(Timestamp startDateOld) {
        this.startDateOld = startDateOld;
    }

    public void setEndDateOld(Timestamp endDateOld) {
        this.endDateOld = endDateOld;
    }

    @Id
    @Column(name = "tm_id")
    @GeneratedValue
    public Integer getTmId() {
        return tmId;
    }

    public void setTmId(Integer tmId) {
        this.tmId = tmId;
    }

    @Basic
    @Column(name = "tm_name")
    public String getTmName() {
        return tmName;
    }

    public void setTmName(String tmName) {
        this.tmName = tmName;
    }

    @Basic
    @Column(name = "plat_type")
    public Integer getPlatType() {
        return platType;
    }

    public void setPlatType(Integer platType) {
        this.platType = platType;
    }

    @Basic
    @Column(name = "task_type")
    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    @Basic
    @Column(name = "pay_type")
    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    @Basic
    @Column(name = "order_numbers")
    public Integer getOrderNumbers() {
        return orderNumbers;
    }

    public void setOrderNumbers(Integer orderNumbers) {
        this.orderNumbers = orderNumbers;
    }

    @Basic
    @Column(name = "requirement")
    public String getRequirement() {
        return requirement;
    }

    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }

    @Basic
    @Column(name = "freight")
    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    @Basic
    @Column(name = "task_environment")
    public Integer getTaskEnvironment() {
        return taskEnvironment;
    }

    public void setTaskEnvironment(Integer taskEnvironment) {
        this.taskEnvironment = taskEnvironment;
    }

    @Basic
    @Column(name = "fee")
    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    @Basic
    @Column(name = "seller_account")
    public String getSellerAccount() {
        return sellerAccount;
    }

    public void setSellerAccount(String sellerAccount) {
        this.sellerAccount = sellerAccount;
    }

    @Basic
    @Column(name = "create_date")
    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    @Basic
    @Column(name = "create_id")
    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    @Basic
    @Column(name = "goods_amount")
    public Integer getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(Integer goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    @Basic
    @Column(name = "sa_level")
    public String getSaLevel() {
        return saLevel;
    }

    public void setSaLevel(String saLevel) {
        this.saLevel = saLevel;
    }

    @Basic
    @Column(name = "s__day")
    public Integer getsDay() {
        return sDay;
    }

    public void setsDay(Integer sDay) {
        this.sDay = sDay;
    }

    @Basic
    @Column(name = "s_week")
    public Integer getsWeek() {
        return sWeek;
    }

    public void setsWeek(Integer sWeek) {
        this.sWeek = sWeek;
    }

    @Basic
    @Column(name = "s_month")
    public Integer getsMonth() {
        return sMonth;
    }

    public void setsMonth(Integer sMonth) {
        this.sMonth = sMonth;
    }

    @Basic
    @Column(name = "s_is_realname")
    public Integer getsIsRealname() {
        return sIsRealname;
    }

    public void setsIsRealname(Integer sIsRealname) {
        this.sIsRealname = sIsRealname;
    }

    @Basic
    @Column(name = "s_is_seller")
    public Integer getsIsSeller() {
        return sIsSeller;
    }

    public void setsIsSeller(Integer sIsSeller) {
        this.sIsSeller = sIsSeller;
    }

    @Basic
    @Column(name = "s_is_baduser")
    public Integer getsIsBaduser() {
        return sIsBaduser;
    }

    public void setsIsBaduser(Integer sIsBaduser) {
        this.sIsBaduser = sIsBaduser;
    }

    @Basic
    @Column(name = "is_is_mobile")
    public Integer getIsIsMobile() {
        return isIsMobile;
    }

    public void setIsIsMobile(Integer isIsMobile) {
        this.isIsMobile = isIsMobile;
    }

    @Basic
    @Column(name = "sa_sex")
    public Integer getSaSex() {
        return saSex;
    }

    public void setSaSex(Integer saSex) {
        this.saSex = saSex;
    }

    @Basic
    @Column(name = "s_satisfy")
    public Integer getsSatisfy() {
        return sSatisfy;
    }

    public void setsSatisfy(Integer sSatisfy) {
        this.sSatisfy = sSatisfy;
    }

    @Basic
    @Column(name = "s_limit_day")
    public Integer getsLimitDay() {
        return sLimitDay;
    }

    public void setsLimitDay(Integer sLimitDay) {
        this.sLimitDay = sLimitDay;
    }

    @Basic
    @Column(name = "comment")
    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    @Transient
    @Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
    public List<GeoInfoEntity> getGeolist() {
        return geolist;
    }

    public void setGeolist(List<GeoInfoEntity> geolist) {
        this.geolist = geolist;
    }

    @Transient
    @Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
    public List<TaskMouldGoodsEntity> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<TaskMouldGoodsEntity> goodsList) {
        this.goodsList = goodsList;
    }

    @Transient
    @Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
    public List<TaskMouldEntity> getMouldList() {
        return mouldList;
    }

    public void setMouldList(List<TaskMouldEntity> mouldList) {
        this.mouldList = mouldList;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TaskMouldEntity that = (TaskMouldEntity) o;

        if (sWeek != that.sWeek) return false;
        if (tmId != that.tmId) return false;
        if (createDate != null ? !createDate.equals(that.createDate) : that.createDate != null) return false;
        if (createId != null ? !createId.equals(that.createId) : that.createId != null) return false;
        if (fee != null ? !fee.equals(that.fee) : that.fee != null) return false;
        if (freight != null ? !freight.equals(that.freight) : that.freight != null) return false;
        if (goodsAmount != null ? !goodsAmount.equals(that.goodsAmount) : that.goodsAmount != null) return false;
        if (isIsMobile != null ? !isIsMobile.equals(that.isIsMobile) : that.isIsMobile != null) return false;
        if (orderNumbers != null ? !orderNumbers.equals(that.orderNumbers) : that.orderNumbers != null) return false;
        if (payType != null ? !payType.equals(that.payType) : that.payType != null) return false;
        if (platType != null ? !platType.equals(that.platType) : that.platType != null) return false;
        if (requirement != null ? !requirement.equals(that.requirement) : that.requirement != null) return false;
        if (sDay != null ? !sDay.equals(that.sDay) : that.sDay != null) return false;
        if (sIsBaduser != null ? !sIsBaduser.equals(that.sIsBaduser) : that.sIsBaduser != null) return false;
        if (sIsRealname != null ? !sIsRealname.equals(that.sIsRealname) : that.sIsRealname != null) return false;
        if (sIsSeller != null ? !sIsSeller.equals(that.sIsSeller) : that.sIsSeller != null) return false;
        if (sLimitDay != null ? !sLimitDay.equals(that.sLimitDay) : that.sLimitDay != null) return false;
        if (sMonth != null ? !sMonth.equals(that.sMonth) : that.sMonth != null) return false;
        if (sSatisfy != null ? !sSatisfy.equals(that.sSatisfy) : that.sSatisfy != null) return false;
        if (saLevel != null ? !saLevel.equals(that.saLevel) : that.saLevel != null) return false;
        if (saSex != null ? !saSex.equals(that.saSex) : that.saSex != null) return false;
        if (sellerAccount != null ? !sellerAccount.equals(that.sellerAccount) : that.sellerAccount != null)
            return false;
        if (taskEnvironment != null ? !taskEnvironment.equals(that.taskEnvironment) : that.taskEnvironment != null)
            return false;
        if (taskType != null ? !taskType.equals(that.taskType) : that.taskType != null) return false;
        if (tmName != null ? !tmName.equals(that.tmName) : that.tmName != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = tmId;
        result = 31 * result + (tmName != null ? tmName.hashCode() : 0);
        result = 31 * result + (platType != null ? platType.hashCode() : 0);
        result = 31 * result + (taskType != null ? taskType.hashCode() : 0);
        result = 31 * result + (payType != null ? payType.hashCode() : 0);
        result = 31 * result + (orderNumbers != null ? orderNumbers.hashCode() : 0);
        result = 31 * result + (requirement != null ? requirement.hashCode() : 0);
        result = 31 * result + (freight != null ? freight.hashCode() : 0);
        result = 31 * result + (taskEnvironment != null ? taskEnvironment.hashCode() : 0);
        result = 31 * result + (fee != null ? fee.hashCode() : 0);
        result = 31 * result + (sellerAccount != null ? sellerAccount.hashCode() : 0);
        result = 31 * result + (createDate != null ? createDate.hashCode() : 0);
        result = 31 * result + (createId != null ? createId.hashCode() : 0);
        result = 31 * result + (goodsAmount != null ? goodsAmount.hashCode() : 0);
        result = 31 * result + (saLevel != null ? saLevel.hashCode() : 0);
        result = 31 * result + (sDay != null ? sDay.hashCode() : 0);
        result = 31 * result + sWeek;
        result = 31 * result + (sMonth != null ? sMonth.hashCode() : 0);
        result = 31 * result + (sIsRealname != null ? sIsRealname.hashCode() : 0);
        result = 31 * result + (sIsSeller != null ? sIsSeller.hashCode() : 0);
        result = 31 * result + (sIsBaduser != null ? sIsBaduser.hashCode() : 0);
        result = 31 * result + (isIsMobile != null ? isIsMobile.hashCode() : 0);
        result = 31 * result + (saSex != null ? saSex.hashCode() : 0);
        result = 31 * result + (sSatisfy != null ? sSatisfy.hashCode() : 0);
        result = 31 * result + (sLimitDay != null ? sLimitDay.hashCode() : 0);
        return result;
    }

    @Basic
    @Column(name = "wait_receive")
    public Integer getWaitReceive() {
        return waitReceive;
    }

    public void setWaitReceive(Integer waitReceive) {
        this.waitReceive = waitReceive;
    }

    @Basic
    @Column(name = "wait_comment")
    public Integer getWaitComment() {
        return waitComment;
    }

    public void setWaitComment(Integer waitComment) {
        this.waitComment = waitComment;
    }

    @Basic
    @Column(name = "level_value_s")
    public Integer getLevelValueS() {
        return levelValueS;
    }

    public void setLevelValueS(Integer levelValueS) {
        this.levelValueS = levelValueS;
    }

    @Basic
    @Column(name = "level_value_e")
    public Integer getLevelValueE() {
        return levelValueE;
    }

    public void setLevelValueE(Integer levelValueE) {
        this.levelValueE = levelValueE;
    }

    @Basic
    @Column(name = "plat_type_s")
    public String getPlatTypeS() {
        return platTypeS;
    }

    public void setPlatTypeS(String platTypeS) {
        this.platTypeS = platTypeS;
    }

    @Basic
    @Column(name = "userpay_belong")
    public Integer getUserpayBelong() {
        return userpayBelong;
    }

    public void setUserpayBelong(Integer userpayBelong) {
        this.userpayBelong = userpayBelong;
    }

    @Basic
    @Column(name = "do_flow")
    public String getDoFlow() {
        return doFlow;
    }

    public void setDoFlow(String doFlow) {
        this.doFlow = doFlow;
    }

    @Basic
    @Column(name = "start_date")
    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    @Basic
    @Column(name = "end_date")
    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Basic
    @Column(name = "rental")
    public BigDecimal getRental() {
        return rental;
    }

    public void setRental(BigDecimal rental) {
        this.rental = rental;
    }

    @Basic
    @Column(name = "main_id")
    public Integer getMainId() {
        return mainId;
    }

    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }

    @Basic
    @Column(name = "main_account")
    public String getMainAccount() {
        return mainAccount;
    }

    public void setMainAccount(String mainAccount) {
        this.mainAccount = mainAccount;
    }

    @Basic
    @Column(name = "vice_account")
    public String getViceAccount() {
        return viceAccount;
    }

    public void setViceAccount(String viceAccount) {
        this.viceAccount = viceAccount;
    }

    @Basic
    @Column(name = "status")
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Basic
    @Column(name = "requirement_old")
    public String getRequirementOld() {
        return requirementOld;
    }

    public void setRequirementOld(String requirementOld) {
        this.requirementOld = requirementOld;
    }

    @Basic
    @Column(name = "do_flow_old")
    public String getDoFlowOld() {
        return doFlowOld;
    }

    public void setDoFlowOld(String doFlowOld) {
        this.doFlowOld = doFlowOld;
    }

    @Basic
    @Column(name = "comment_old")
    public String getCommentOld() {
        return commentOld;
    }

    public void setCommentOld(String commentOld) {
        this.commentOld = commentOld;
    }

    @Basic
    @Column(name = "start_date_old")
    public Date getStartDateOld() {
        return startDateOld;
    }

    public void setStartDateOld(Date startDateOld) {
        this.startDateOld = startDateOld;
    }

    @Basic
    @Column(name = "end_date_old")
    public Date getEndDateOld() {
        return endDateOld;
    }

    public void setEndDateOld(Date endDateOld) {
        this.endDateOld = endDateOld;
    }

    @Basic
    @Column(name = "rental_old")
    public BigDecimal getRentalOld() {
        return rentalOld;
    }

    public void setRentalOld(BigDecimal rentalOld) {
        this.rentalOld = rentalOld;
    }

    @Basic
    @Column(name = "vice_account_old")
    public String getViceAccountOld() {
        return viceAccountOld;
    }

    public void setViceAccountOld(String viceAccountOld) {
        this.viceAccountOld = viceAccountOld;
    }

    @Basic
    @Column(name = "main_deposit")
    public BigDecimal getMainDeposit() {
        return mainDeposit;
    }

    public void setMainDeposit(BigDecimal mainDeposit) {
        this.mainDeposit = mainDeposit;
    }

    @Basic
    @Column(name = "vice_deposit")
    public BigDecimal getViceDeposit() {
        return viceDeposit;
    }

    public void setViceDeposit(BigDecimal viceDeposit) {
        this.viceDeposit = viceDeposit;
    }

    @Basic
    @Column(name = "audit_id")
    public Integer getAuditId() {
        return auditId;
    }

    public void setAuditId(Integer auditId) {
        this.auditId = auditId;
    }

    @Basic
    @Column(name = "audit_cn")
    public String getAuditCn() {
        return auditCn;
    }

    public void setAuditCn(String auditCn) {
        this.auditCn = auditCn;
    }

    @Basic
    @Column(name = "audit_date")
    public Timestamp getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Timestamp auditDate) {
        this.auditDate = auditDate;
    }

    @Basic
    @Column(name = "refuse_reason")
    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }

@Transient
    public List<TaskMouldRequireEntity> getRequireList() {
        return requireList;
    }

    public void setRequireList(List<TaskMouldRequireEntity> requireList) {
        this.requireList = requireList;
    }

    @Basic
    @Column(name = "do_plat_type")
    public Integer getDoPlatType() {
        return doPlatType;
    }

    public void setDoPlatType(Integer doPlatType) {
        this.doPlatType = doPlatType;
    }

    @Basic
    @Column(name = "contact")
    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    @Basic
    @Column(name = "per_userpay")
    public BigDecimal getPerUserpay() {
        return perUserpay;
    }

    public void setPerUserpay(BigDecimal perUserpay) {
        this.perUserpay = perUserpay;
    }

    @Basic
    @Column(name = "per_userpay_old")
    public BigDecimal getPerUserpayOld() {
        return perUserpayOld;
    }

    public void setPerUserpayOld(BigDecimal perUserpayOld) {
        this.perUserpayOld = perUserpayOld;
    }

    @Basic
    @Column(name = "tm_no")
    public String getTmNo() {
        return tmNo;
    }

    public void setTmNo(String tmNo) {
        this.tmNo = tmNo;
    }

    @Transient
    public String getStatuscn() {
        return statuscn;
    }

    public void setStatuscn(String statuscn) {
        this.statuscn = statuscn;
    }

    @Transient
    public UserEntity getCreateUser() {
        return createUser;
    }

    public void setCreateUser(UserEntity createUser) {
        this.createUser = createUser;
    }

    @Transient
    public List<UserEntity> getViceAccountList() {
        return viceAccountList;
    }

    public void setViceAccountList(List<UserEntity> viceAccountList) {
        this.viceAccountList = viceAccountList;
    }
}
